Skip to content

AudioDecoderConfig.numberOfChannels and AudioDecoderConfig.sampleRate should be explicitly forbidden to be 0#908

Merged
Djuffin merged 1 commit into
mainfrom
878-samplerate-channel-0
Jun 23, 2026
Merged

AudioDecoderConfig.numberOfChannels and AudioDecoderConfig.sampleRate should be explicitly forbidden to be 0#908
Djuffin merged 1 commit into
mainfrom
878-samplerate-channel-0

Conversation

@padenot

@padenot padenot commented Nov 12, 2025

Copy link
Copy Markdown
Collaborator

This fixes #878.

This is what Firefox (and I think also Chrome) implements, and it's what is tested in WPT.


Preview | Diff

… should be explicitly forbidden to be 0.

This fixes #878.
@canteroj471-maker

Copy link
Copy Markdown

I'm not 920

@chrisn chrisn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I think we can merge this.

@Djuffin Djuffin merged commit 0426d1d into main Jun 23, 2026
2 checks passed
@Djuffin Djuffin deleted the 878-samplerate-channel-0 branch June 23, 2026 20:07
github-actions Bot added a commit that referenced this pull request Jun 23, 2026
… should be explicitly forbidden to be 0. (#908)

SHA: 0426d1d
Reason: push, by Djuffin

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AudioDecoderConfig.numberOfChannels and AudioDecoderConfig.sampleRate should be explicitly forbidden to be 0

4 participants